Don't special case getDomainMemory for ia64.
authorcl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Thu, 15 Sep 2005 09:21:10 +0000 (09:21 +0000)
committercl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Thu, 15 Sep 2005 09:21:10 +0000 (09:21 +0000)
This makes how we account the "system pages" consistent.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
tools/python/xen/xend/image.py

index 63e22c34d739020669c94fc5b4df554c08887c62..25d022d078c96496f796f9bbb46adb1f8dc9f679 100644 (file)
@@ -222,11 +222,7 @@ class ImageHandler:
 
     def getDomainMemory(self, mem_mb):
         """Memory (in KB) the domain will need for mem_mb (in MB)."""
-        if os.uname()[4] == 'ia64':
-           """Append extra system pages, like xenstore and console"""
-           return (mem_mb * 1024 + 3 * 16)
-       else:
-            return mem_mb * 1024
+        return mem_mb * 1024
 
     def buildDomain(self):
         """Build the domain. Define in subclass."""